package edu.uw.tcss360.group6.gui;

import javax.swing.*;
import java.awt.*;

/**
 * Created with IntelliJ IDEA.
 * edu.uw.tcss360.group6.model.User: Lemtzas
 * Date: 2/20/13
 * Time: 9:03 PM
 * To change this template use File | Settings | File Templates.
 */
@SuppressWarnings("serial")
public class SidebarPanel extends JPanel {
    private  static int PREFERRED_WIDTH  = 150;
    private  static int PREFERRED_HEIGHT = 500;

    public final LogPanel logpanel;
    public DataCardPanel datacardpanel;

    public SidebarPanel() {
        super(new BorderLayout());
        logpanel = new LogPanel();
        datacardpanel = new DataCardPanel();
        this.setBackground(Color.BLACK);
        this.setPreferredSize(new Dimension(PREFERRED_WIDTH, PREFERRED_HEIGHT));
        this.add(logpanel, BorderLayout.CENTER);
        this.add(datacardpanel,BorderLayout.NORTH);
    }

    @Override
    public Insets getInsets()
    {
        return new Insets(0,3,0,0);
    }
}
